<%@ Page Language="C#" AutoEventWireup="True" Inherits="ODM2KMZ.DataStreamers_WaterOneFlowTableStreamer" Codebehind="WaterOneFlowTableStreamer.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>CSIRO HIS Data Viewer</title>
    <link href="CSIROForm.css" rel="stylesheet" type="text/css" />
 
 
    <style type="text/css">
        .style1
        {
            font-weight: bold;
            font-size: 12px;
            padding-bottom: 4px;
            color: #ebf0f9;
            padding-top: 4px;
            font-family: Arial;
            letter-spacing: 1px;
            background-color: #52514F;
            width: 495px;
        }
        .style2
        {
            width: 495px;
        }
    </style>
 
</head> 

<body style="text-align: center">

 

      <form id="form1" runat="server">

            <table style="text-align: left; vertical-align: top; margin-left:auto ; margin-right:auto;">
                <tr>
                    <td>
                        <table class="clsFormHeadingTable" id="tblFormHeading">
                            <tr>
                                <td class="clsFormHeadingIcon" rowspan="2">
                                    <img alt="CSIRO" src="Images/CSIRO_Logo.png" />
                                  
                                </td>
                                <td class="clsFormHeading" colspan="2">   <img alt="CSIRO" src="Images/cuahsi_logo.jpg" />
                                    
                                </td>
                            </tr>
                            <tr>
                                <td class="clsFormHeadingSub" colspan="2">
                                    Hydrological Information System: Data Viewer</td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td style="height: 233px"  valign="top">



    <table class="clsSectionTable" width="800px">
    <tr>
     <td class="style1" align="center" valign="middle" >
         HIS Data
         Viewer
     </td>
     <td class="clsSectionHeading" align="center">
      Get Data as CSV
     </td>     
    </tr>
    <tr>
    <td class="style2"  >
     <asp:Image ID="imgChart" runat="server" ImageUrl="WaterOneFlowChartStreamer.aspx" />
    </td>
    <td valign="top">
       <table width="100%">
         <tr align="center">
         <td class="clsSectionText" colspan="1">
             <asp:Label ID="lblStartDate" runat="server" Text="Start Date mm/dd/yyyy"></asp:Label>
            </td> 
            <td>
             <input id="txtStartdate" type="text"  runat="server" class="clsSectionText"/>        
                 
            </td>
         </tr>
         <tr align="center">
         <td class="clsSectionText" colspan="1">
             <asp:Label ID="lblEndDate" runat="server" Text="End Date mm/dd/yyyy"></asp:Label>
           </td>  
           <td> 
             <input id="txtEndDate" type="text" runat="server"  class="clsSectionText"/>  
           </td>
         </tr>      
         <tr title="HIS View Data">
         <td align="center">
                     <asp:Button ID="btnRePlot" runat="server" Text="Re-Plot" 
                         ToolTip="Re-Plot data using revised start and end date" 
                         onclick="btnRePlot_Click"/>
         </td>
         <td align="center">
                     <asp:Button ID="btnGetData" runat="server" onclick="btnGetData_Click" 
            Text="Get Data" ToolTip="Get data as a csv file" />
         </td>
         </tr>
       </table>  
    </td>
    </tr>
    <tr>
    <td class="style2" >
</td>
<td align="center" > 
<table>
<tr>
<td>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                ControlToValidate="txtStartdate" ErrorMessage="StartDate Must be mm/dd/yyyy" 
                
                ValidationExpression="^[0,1]?\d{1}\/(([0-2]?\d{1})|([3][0,1]{1}))\/(([1]{1}[9]{1}\d{2})|([2-9]{1}\d{3}))$" 
                Font-Size="Small"></asp:RegularExpressionValidator>        
           
</td>
</tr>
<tr>
<td>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ControlToValidate="txtEndDate" ErrorMessage="EndDate Must be mm/dd/yyyy" 
                
                ValidationExpression="^[0,1]?\d{1}\/(([0-2]?\d{1})|([3][0,1]{1}))\/(([1]{1}[9]{1}\d{2})|([2-9]{1}\d{3}))$" 
                Font-Size="Small"></asp:RegularExpressionValidator>  
</td>
</tr>

</table>     
          
                
           
      </td>
    </tr>
    </table>
  
    
                    </td>
                </tr>
            </table>    
    
            
    
           
    
   </form>   
</body>
</html>